libgtk-4-1 Breaks/Replaces experimental libgtk-4-0
authorSimon McVittie <smcv@debian.org>
Thu, 17 Dec 2020 13:45:04 +0000 (13:45 +0000)
committerSimon McVittie <smcv@debian.org>
Thu, 17 Dec 2020 13:47:11 +0000 (13:47 +0000)
Both packages contain the print backends, which do not contain the
SONAME in their names. We anticipate that if the SONAME was bumped in
future, the "4.0.0" in the module loading path would also change, so
this isn't a problem for Policy ยง8.2; the only reason the path didn't
already change here is that versions prior to 4.0.0 were development
snapshots and explicitly not API- or ABI-stable.

Moving the print backends to a separate package would create a circular
dependency (since libgtk-4-1 would need at least a Recommends on the
print backends, and the print backends depend on the main library),
and would not actually help co-installability with a future libgtk-4-2,
since they should be upgraded in lockstep.

debian/control
debian/control.in

index 0167a64f034977b5c4fdc01b4d5bb4cfa1aebf8a..aa12a159897a3a6dde27ff84b0a41a64a03eeb0b 100644 (file)
@@ -81,6 +81,8 @@ Suggests: gvfs,
           librsvg2-common
 Breaks: gnome-themes-standard (<< 3.6),
         gtk3-engines-oxygen (<< 1.4.1-3)
+        libgtk-4-0 (<< 4.0.0),
+Replaces: libgtk-4-0 (<< 4.0.0),
 Pre-Depends: ${misc:Pre-Depends}
 Description: GTK graphical user interface library
  GTK is a multi-platform toolkit for creating graphical user
index 133771a0653311f51165a76c3de25b2bea135ee1..c4d53693f2ed25c317e05b94ccc9c7c7836a7a34 100644 (file)
@@ -81,6 +81,8 @@ Suggests: gvfs,
           librsvg2-common
 Breaks: gnome-themes-standard (<< 3.6),
         gtk3-engines-oxygen (<< 1.4.1-3)
+        libgtk-4-0 (<< 4.0.0),
+Replaces: libgtk-4-0 (<< 4.0.0),
 Pre-Depends: ${misc:Pre-Depends}
 Description: GTK graphical user interface library
  GTK is a multi-platform toolkit for creating graphical user